package com.example.leonard.core.mq.mqconfig;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
public class HeaderConfig {
    @Bean
    public Queue headQueue() {
        return new Queue(MQConstants.HEADER);
    }

}
